package com.hmall.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hmall.item.pojo.Item;
import com.hmall.item.pojo.PageResult;

public interface IItemService extends IService<Item> {
    PageResult pagesearch(Integer page, Integer size);

    Item selectByid(Integer id);


    void change(Integer id, Integer status);

    void redece(Long itemId, Long num);
}
